<%--
    Document   : index
    Created on : Mar 10, 2014, 10:54:45 PM
    Author     : Anton Strack
--%>

<p>The following relationships and content will also be deleted. Note: If any dependant resource cannot be deleted then this plot can't be deleted.</p>

<csd:dependantItems dependantItems="${comments}" itemName="Comment" displayTitle="Comments"></csd:dependantItems>
<csd:dependantRelationships dependantItems="${characterdialog}" itemName="Dialog" displayTitle="Character Dialogs"></csd:dependantRelationships>
<csd:dependantRelationships dependantItems="${plotdialog}" itemName="Plot" displayTitle="Plot Dialogs"></csd:dependantRelationships>

<form method="POST" action="${config.getPath()}">
    <div class="form-group">
        <label class="form-control" for="formSubmit">Confirm Delete</label>
        <input type="hidden" value="${bean.id}" name="postId" id="postId" />
        <button class="btn btn-primary" type="submit" name="formSubmit" id="formSubmit" value="delete-location">Delete ${bean.name}</button>
    </div>
</form>

